import request from '@/utils/request'

// 查询协会招商专栏列表
export function listMemberInvestment(query) {
  return request({
    url: '/api/MemberInvestment/list',
    method: 'get',
    params: query
  })
}

// 查询协会招商专栏详细
export function getMemberInvestment(investmentId) {
  return request({
    url: '/api/MemberInvestment/' + investmentId,
    method: 'get'
  })
}

// 新增协会招商专栏
export function addMemberInvestment(data) {
  return request({
    url: '/api/MemberInvestment/add',
    method: 'post',
    data: data
  })
}

// 修改协会招商专栏
export function updateMemberInvestment(data) {
  return request({
    url: '/api/MemberInvestment/update',
    method: 'post',
    data: data
  })
}

// 删除协会招商专栏
export function delMemberInvestment(investmentId) {
  return request({
    url: '/api/MemberInvestment/delete/' + investmentId,
    method: 'get'
  })
}
